package com.itqf.service;

import com.itqf.entity.Type;
import com.itqf.entity.User;

import java.sql.SQLException;
import java.util.List;

/**
 * 商品类别模块的业务逻辑接口
 */
public interface TypeService {


    /**
     * 返回所有类型
     * @return
     */
    List<Type> findAll() throws SQLException;

    List<Type> selectAll() throws SQLException;

    void addType(Type type) throws SQLException;


    Type selectTypeByTid(String tid) throws SQLException;
}
